A C++ Class Library for Mathematical Programming
نویسنده
چکیده
We present a library of C++ classes for writing mathematical optimization models in C++. The library deenes classes to represent the variables and constraints of models, and also deenes overloaded operators on these classes which results in a natural syntax for model deenition. The system requires programming in C++ for its use, and is hence most suitable for the advanced programmer/modeler. For such a user, however, it provides some advantages over standard modeling systems. First, the system preserves all the advantages of working with a programming language, such as eeciency, exibility and openness. Second, C++ allows users to extend and specialize existing data types. As an example of this, we show how a user could deene a specialized network model type with nodes and arcs. EEcient data structures for storing and manipulating sparse arrays are introduced , the concept of variable aliasing is discussed, and a number of related, future research topics are presented.
منابع مشابه
Dense and Sparse Matrix Classes Using the C++ Standard Template Library
The C++ programming language has undergone signiicant changes since its inception in the 1980's, but has now reached a relatively steady state. Standard C++ now includes a general library of container classes, the Standard Template Library (STL). These developments are rapidly changing the styles used in C++ class programming. The paper has dual purposes: It provides an introduction to STL for ...
متن کاملC – XSC 2.0: A C++ Class Library for Extended Scientific Computing
The original version of the C++ class library C – XSC [4] is about ten years old. But in the last decade the underlying programming language C++ has been developed significantly. Since November 1998 the C++ standard [3] is available and more and more compilers support (most of) the features of this standard. The new version C – XSC 2.0 [2] conforms to the C++ standard. For those who are not fam...
متن کاملA software system for laboratory experiments in image processing
Laboratory experiments for image processing courses are usually software implementations of processing algorithms, but students of image processing come from diverse backgrounds with widely differing software experience. To avoid learning overhead, the software system should be easy to learn and use, even for those with no exposure to mathematical programming languages or object-oriented progra...
متن کاملApplication of Tabu Search to a Special Class of Multicommodity Distribution Systems
Multicommodity distribution problem is one of the most interesting and useful models in mathematical programming due to its major role in distribution networks. The purpose of this paper is to describe and solve a special class of multicommodity distribution problems in which shipment of a commodity from a plant to a customer would go through different distribution centers. The problem is t...
متن کاملCHiPPS: A Framework for Implementing Parallel Search Algorithms
The COIN-OR High Performance Parallel Search (CHiPPS) framework is a C++ class library for implementing and parallelizing tree search algorithms. It currently consists of a library of base classes known as the Abstract Library for Parallel Search (ALPS) and two other layers useful for implementing algorithms based on mathematical programming paradigms. Because of its general approach, however, ...
متن کامل